/*
 * Copyright (C), 2002-2016, 苏宁易购电子商务有限公司
 * FileName: EmployeeMemberInfo.java
 * Author:   15050536
 * Date:     2016年12月6日 下午4:49:02
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.suning.sawp.po.tm;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 时光机-员工接待会员记录 实体类
 *
 * @author 15050536 石键平
 */
@Entity(name = "bi_employee_member_info")
public class EmployeeMemberInfo implements Serializable{

	/**
	 */
	private static final long serialVersionUID = 6765658966739385322L;

	/**
	 * 自增主键
	 */
	private Long id;
	
	/**
	 * 员工工号
	 */
	private String employeeId;
	
	/**
	 * 会员编号
	 */
	private String memberId;
	
	/**
	 * 订单数量
	 */
	private Integer orderNum;
	
	/**
	 * 支付金额
	 */
	private BigDecimal payAmnt;
	
	/**
	 * 2016年接待会员总数量
	 */
	private Integer memberNum;
	
	/**
	 * 老用户数量
	 */
	private Integer oldMemberNum;
	
	/**
	 * 顾客姓名
	 */
	private String customName;
	
	/**
	 * 顾客性别
	 */
	private String gender;
	
	/**
	 * 处理时间
	 */
	private String etlTime;

	@Id
    @Column(name = "id")
	@GeneratedValue(strategy = GenerationType.TABLE)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "employee_id")
	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}
	
	@Column(name = "member_id")
	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	@Column(name = "order_num")
	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	@Column(name = "pay_amnt")
	public BigDecimal getPayAmnt() {
		return payAmnt;
	}

	public void setPayAmnt(BigDecimal payAmnt) {
		this.payAmnt = payAmnt;
	}

	@Column(name = "member_num")
	public Integer getMemberNum() {
		return memberNum;
	}

	public void setMemberNum(Integer memberNum) {
		this.memberNum = memberNum;
	}

	@Column(name = "old_member_num")
	public Integer getOldMemberNum() {
		return oldMemberNum;
	}

	public void setOldMemberNum(Integer oldMemberNum) {
		this.oldMemberNum = oldMemberNum;
	}
	
	@Column(name = "custom_name")
	public String getCustomName() {
		return customName;
	}

	public void setCustomName(String customName) {
		this.customName = customName;
	}

	@Column(name = "gender")
	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	@Column(name = "etl_time")
	public String getEtlTime() {
		return etlTime;
	}

	public void setEtlTime(String etlTime) {
		this.etlTime = etlTime;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
	
}
